TS2394: This overload signature is not compatible with its implementation signature